package com.taobao.api.response;

import java.util.List;

import com.taobao.api.TaobaoResponse;
import com.taobao.api.domain.Function;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;

/**
 * TOP API: taobao.hanoi.function.search response.
 * 
 * @author auto create
 * @since 1.0, null
 */
public class HanoiFunctionSearchResponse extends TaobaoResponse {

  private static final long serialVersionUID = 8196142526558149136L;

  /**
   * 函数配置
   */
  @ApiListField("functions")
  @ApiField("function")
  private List<Function>    functions;

  /**
   * 返回符合条件的记录总数
   */
  @ApiField("total")
  private Long              total;

  public void setFunctions(List<Function> functions) {
    this.functions = functions;
  }

  public List<Function> getFunctions() {
    return this.functions;
  }

  public void setTotal(Long total) {
    this.total = total;
  }

  public Long getTotal() {
    return this.total;
  }

}
